package com.power.using.mydaggerp.contract.home.tabs;

import com.power.using.mydaggerp.model.bean.wangyi.WangyiNewsItemBean;
import com.power.using.mydaggerp.model.bean.wangyi.WangyiNewsListBean;

import io.reactivex.Observable;


/**
 * Created by 聪明一只哈 on 2019/10/11.
 * Time: 2019/10/11  14:10
 */
public interface WangyiContract {


    abstract class WangyiPresenter extends BaseTabsContract.BaseTabsPresenter<IWangyiModel,
            IWangyiView,WangyiNewsItemBean>{

    }


    interface IWangyiModel extends BaseTabsContract.IBaseTabsModel{

        /**
         * 获取网易新闻list
         *
         * @param id id
         * @return Observable
         */
        Observable<WangyiNewsListBean> getNewsList(int id);

    }


    interface  IWangyiView extends BaseTabsContract.IBaseTabsView<WangyiNewsItemBean>{

    }


}
